home *** CD-ROM | disk | FTP | other *** search
/ PD ROM 1 / PD ROM Volume I - Macintosh Software from BMUG (1988).iso / Electronic Messages / USEnet Digests / USEnet Vol. 4 / USEnet 4.59 < prev    next >
Encoding:
Text File  |  1988-06-15  |  37.0 KB  |  913 lines  |  [TEXT/ttxt]

  1.  9-May-88 21:57:08-PDT,38723;000000000000
  2. Return-Path: <usenet-mac-request@RELAY.CS.NET>
  3. Received: from RELAY.CS.NET by SUMEX-AIM.Stanford.EDU with TCP; Mon, 9 May 88 21:56:16 PDT
  4. Received: from relay2.cs.net by RELAY.CS.NET id aa02268; 10 May 88 0:05 EDT
  5. Received: from relay.cs.net by RELAY.CS.NET id aa03597; 10 May 88 0:01 EDT
  6. Received: from sdr.slb.com by RELAY.CS.NET id ab03378; 9 May 88 23:42 EDT
  7. Date: Mon, 9 May 88 09:22 EDT
  8. From: Jeffrey Shulman <SHULMAN@sdr.slb.com>
  9. Subject: Usenet Mac Digest V4 #59
  10. To: usenet-mac@RELAY.CS.NET, PIERCE%HDS@sdr.slb.com
  11. X-VMS-To: in%"usenet-mac@relay.cs.net",in%"PIERCE%HDS@SDR.SLB.COM"
  12.  
  13. Date: Mon  9 May 88 09:21:56-GMT
  14. From: Jeff Shulman <SHULMAN@SDR>
  15. Subject: Usenet Mac Digest V4 #59
  16. To: Usenet-List: ;
  17. Message-ID: <579169316.0.SHULMAN@SDR>
  18. Mail-System-Version: <VAX-MM(218)+TOPSLIB(129)@SDR>
  19.  
  20. Usenet Mac Digest     Friday, May 6, 1988            Volume 4 : Issue 59 
  21.  
  22. Today's Topics:
  23.      Re: Dual Video Card Problem
  24.      Print Monitor Problem
  25.      Tidbits from InfoWorld
  26.      Re: Has anyone ordered from HardWareHouse?
  27.      Interleaf on the Mac
  28.      Wanted: Tektronix 4027 emulator
  29.      Programmer's Extender vs. MacExpress...
  30.      Goin' Crazy on a Mac, or, How I Love MPW "GlobalData" (2 messages)
  31.      Re: Macsbug won't work with my 19" screen
  32.      Replys to: Developer Quality C Compiler w/inline Assembly
  33.      Re: Programmer's Extender vs. MacExpres
  34.      Re: Physical Storage Amounts on Different Hard Disks (Size of Folders)
  35.      Word Perfect for the Mac
  36.      Info on EMAC hard drives
  37.      A/UX AppleTalk printing
  38.  
  39. ---------------------------------------------------------------------- 
  40.  
  41. From: olson@endor.harvard.edu (Eric K. Olson)
  42. Subject: Re: Dual Video Card Problem
  43. Date: 2 May 88 16:22:33 GMT
  44. Organization: Lexington Software Design, Lexington, MA
  45.  
  46. What you are experiencing is due in part to poor programming in the
  47. software you are using to test, and in part due to Apple's not providing
  48. a simple way to do things correctly.
  49.  
  50. Everything on a Mac II has a CLUT.  PixMaps (multi-bit Bitmaps),
  51. Windows, Cursors, and Video Cards all have CLUT (color lookup tables). 
  52. In order to display a PixMap on a monitor EXACTLY the way it was
  53. intended to look, the video card's CLUT must match the PixMap's CLUT. 
  54. Apple provides two disjoint methods of setting the video card's clut: 
  55. The Color Manager, and the Palette Manager.  
  56.  
  57. In the Color Manager model, the programmer explicitly sets the colors in
  58. the video card's CLUT.  If there are two video cards, the programmer
  59. must set both CLUTs appropriately.  In the Palette Manager model, the
  60. programmer associates a CLUT with a window and calls ActivatePalette()
  61. in response to a window becoming frontmost.  The Palette Manager
  62. determines which video card(s) the window exists on and sets the CLUTs
  63. appropriately.
  64.  
  65. For 256-gray-level images, the CLUT should just be set to a ramp, where
  66. Black = R 0, G 0, B 0, and White = R 65536, G 65536, B 65536, and an
  67. even distribution of Grays in between.
  68.  
  69. Unfortunately, Apple has provided no way to tell the Palette Manager
  70. that a window requires EXACTLY a particular CLUT, with entries in a
  71. particular order.  Had Apple done this (and had they released the
  72. Palette Manager interfaces earlier), many programs that don't work on
  73. multiple screens now might have had a fighting chance.
  74.  
  75. My own code goes to great pains to emulate the Palette Manager's
  76. behavior, but with the ability to set a video card's CLUT EXACTLY.
  77.  
  78. It is possible to get the Palette Manager to set all the colors in the
  79. video card's CLUT, but not in a particular order.  This slows down
  80. Blitting to the screen significantly.
  81.  
  82. Most code just sets the MainDevice's CLUT explicitly (this is what you
  83. are seeing).  Blits onto other screens (whose CLUTs are still the Apple
  84. default) show about 12 Grey levels, because that's how many are in the
  85. default CLUT. The system software is VERY good about always showing you
  86. the best fit it can manage for the CLUTs it has to work with.
  87.  
  88. There are other problems with multiple screens:  the most annoying is
  89. that Pop-Up menus ALWAYS appear on the screen with the MenuBar. 
  90. Apparently the Menu Manager doesn't know how to deal with multiple
  91. screens.
  92.  
  93. Getting your software to work well with multiple screens is no easy
  94. task.
  95. -- 
  96. -Eric
  97.       Lexington Software Design:  Tomorrow's Software Yesterday
  98.  
  99. Eric K. Olson     olson@endor.harvard.edu     harvard!endor!olson     D0760
  100.    (Name)                (ArpaNet)                 (UseNet)        (AppleLink)
  101.  
  102.  
  103. ------------------------------
  104.  
  105. From: eto@spacely.Jpl.Nasa.Gov (Edward Olsen)
  106. Subject: Print Monitor Problem
  107. Date: 2 May 88 17:37:38 GMT
  108. Organization: Image Analysis Systems Grp, JPL
  109.  
  110. I have encountered a problem with Print Monitor v1.0 which I think the
  111. Mac community should know about.  It became apparent when I used Cricket
  112. Draw v1.1 to make some figures.  I found that the system crashed, or the
  113. mouse froze up, or applications (Print Monitor among them) "unexpectedly
  114. quit" just after the postscript output file was generated.
  115.  
  116. These problems did not occur when I ran the same printout under Finder
  117. (not Multifinder).  I then found that the 10K cricket draw document was
  118. generating a 108K spooled print file!  Since I had configured my Print
  119. Monitor application to use 120K of memory, I was just on the hairy
  120. limit.  Once I increased my Print Monitor partition to 200K, all
  121. problems ceased.  The document contained a small bitmap, some shaded
  122. circles and some arcs.  Users of applications which generate postscript
  123. files (not just Cricket Draw users) should be aware of this problem with
  124. Print Monitor.
  125.  
  126. Until Apple comes out with a fixed version of Multifinder and Print
  127. Monitor, I suggest either increasing the Print Monitor application
  128. memory size to at least 200K, avoid Multifinder entirely, or use another
  129. print spooler.
  130.                    Ed Olsen
  131.  
  132.  
  133. ------------------------------
  134.  
  135. From: chuq@plaid.Sun.COM (Chuq Von Rospach)
  136. Subject: Tidbits from InfoWorld
  137. Date: 2 May 88 20:20:16 GMT
  138.  
  139. I don't normally read InfoWorld, but since there has been some
  140. discussion of Mac IPC recently, the headline on the 5/2 issue ("Mac OS
  141. to Support Links Between Applications") caught my eye, so I borrowed a
  142. copy.
  143.  
  144. There are some interesting tidbits I thought I'd pass along.
  145.  
  146. o Apple's developing a set if interprocess communication procedures for
  147.     release about a year from now. Something on the order of a smart
  148.     clipboard.
  149.  
  150. o With system release 7.0 (6.0 is due to be released any time, 7.0 this 
  151.     winter? maybe?) multifinder will be the default, "replacing the
  152.     finder". 
  153.  
  154.     [does this mean that finder functionality gets merged into MF
  155.     and the finder process goes away? who knows....]
  156.  
  157.     Also, the likely minimum memory configuration supported with this
  158.     release will be 2Meg. They better hope SIMM prices drop.... You've
  159.     been warned, start planning that memory upgrade now, folks. you're
  160.     going to want it....
  161.  
  162. o On other fronts, Think Technologies has taken some ribbing on the net 
  163.     for the early publication of their LightSpeed C ad in MacTutor.
  164.     This was actually done, without authorization, by the Ad Agency.
  165.  
  166.     Well, Think's fired their ad agency for it. Which gives you an
  167.     idea what Think thinks of vaporware. [Congrats to Think for holding
  168.     to their ethics. Clap, clap, clap, clap.....]
  169.  
  170. o Microsoft seems to be worried about FullWrite Professional (I wonder
  171.     why...). Microsoft is negotiating to ship a copy of SuperPaint with
  172.     each copy of Word 4.0 (they haven't announce 4.0, but...)
  173.  
  174.     [Interesting marketing touch. SuperPaint is about to be replaced
  175.     (mid-summer) with SuperPaint2, which looks like it's going to go
  176.     up against Illustrator and FreeHand. If they start shipping
  177.     SuperPaint with Word, Silicon Beach continues to get a revenue
  178.     stream from the older program, and if they allow a reduced price
  179.     upgrade to the more powerful program....
  180.  
  181.     Word wins by getting a good graphic program to fight FWP's graphic
  182.     capabilities. Silicon Beach gets new life for an old program, and
  183.     a chance to convince folks to upgrade to their newer one. End-users
  184.     win,because they get SuperPaint as part of the package.
  185.  
  186.     And if you thought Microsoft had the word processing market
  187.     sewed up, you can think again... Microsoft doesn't seem to be taking
  188.     any chances....]
  189.  
  190. Now, go start putting money away for that memory upgrade....
  191. -- 
  192. Chuq Von Rospach            chuq@sun.COM        Delphi: CHUQ
  193.  
  194.                               This signature is currently under construction.
  195.                            We are sorry for any inconvenience this may cause.
  196.  
  197.  
  198. ------------------------------
  199.  
  200. From: evan@ndcheg.UUCP (Evan Bauman)
  201. Subject: Re: Has anyone ordered from HardWareHouse?
  202. Date: 3 May 88 02:46:41 GMT
  203. Organization: Univ. of Notre Dame
  204.  
  205. In article <4647@batcomputer.tn.cornell.edu>,
  206. snyder@batcomputer.tn.cornell.edu (Scott Snyder) writes:
  207. > Hi,
  208. >     I'm seriously considering getting a CMS-MacStack 60 Hard disk from the 
  209. > HardWareHouse that is advertised in the back of the May MacUser. The price seems
  210. > right but I am concerned about ordering from a mail order house I have no
  211. > information about.  If anyone knows anything about this mail order house (they
  212. > operate out of Philadelphia, PA) please e-mail me your personal experiences
  213. > and I will summarize to the net if I get enough responses.
  214.  
  215. Our department has ordered 4 of the CMS Pro 60-ii internal disks from
  216. Hardware House and one of the external MacStack 60's.  The price was
  217. fantastic and delivery was within 1 week.  No complaints here.
  218.  
  219. Of course, we're just satisfied customers.
  220.  
  221.     Evan Bauman
  222.     Univ. of Notre Dame
  223.     ..!iuvax!ndcheg!evan
  224.  
  225.  
  226. ------------------------------
  227.  
  228. From: billo@cmx.npac.syr.edu (Bill O)
  229. Subject: Interleaf on the Mac
  230. Date: 1 May 88 23:43:24 GMT
  231. Organization: Northeast Parallel Architectures Center, Syracuse NY
  232.  
  233. A while back I solicited comments concerning Interleaf  Publishing
  234. Software on the Mac.  I've had a few responses, so, as promised, here is
  235. a summary.
  236.  
  237.  
  238. WHAT'S MISSING/NOT MISSING IN THE MAC VERSION
  239. =============================================
  240. >From SDL...
  241. They use their own fonts, which is fine by me since they include just
  242. about everything in the LaserWriter Plus.  Everything from the Sun is
  243. there except the eqn package ... but MathType or similar packages get
  244. the job done. ------
  245.  
  246. Editor's note: Interleaf apparently has plans to port eqn in the future.
  247.  This summer there will be an interim release of Publisher that will
  248. interface with other Mac equation packages. Note that the Mac also
  249. doesn't have continuous tone image editing.  The Mac version also only
  250. supports PostScript fonts and devices. ------
  251.  
  252. CONCERNING THE MAC USER INTERFACE =================================
  253.  
  254. >From SDL...
  255. Getting used to the difference in their window and menu system from the
  256. Mac's takes about a day, and even though I'm a Mac programmer who spend
  257. mucho time doing things according to Apple's User Interface Rules, I
  258. really like much of the IL interface.   ------
  259.  
  260. >From FAD...
  261. As all the Mac reviewers have complained, it's not the Mac interface. To
  262. get the function of a three-button mouse, they require you to hold down
  263. command and click (equivalent to the middle mouse button) or shift-click
  264. (the right button).  All the keyboard action is a little frustrating
  265. when you're working with the mouse.  Double clicking would have been
  266. nice. ------
  267.  
  268. >From Eph...
  269. My immediate manager has Interleaf on his Mac II, and all of us in my
  270. office have it on our Sun 3/50's.  The implementations are fastidiously
  271. identical, which is to say that Interleaf on the Mac is not a Mac
  272. program.  It's an alien program that runs on the Mac hardware. ------
  273.  
  274. CONCERNING SPEED/PERFORMANCE ============================
  275.  
  276. >From SDL...  
  277. I am currently running Interleaf Pub on a Mac II w/ 8Mb.  I run w/ a 1Mb
  278. ram cache usually.  ... I have been very impressed with the speed of
  279. ILP.  Their windows are blazing and the WP makes FullWrite and Word look
  280. sick.  It can scroll faster than I can click or drag.
  281.  
  282. All printing is done in PostScript and is VERY fast.  I have ~150 pages
  283. of bitmap figures and they print so fast compared to other Mac software
  284. (including doing a straight screen dump from the System!), that IL must
  285. be doing some very good PS hacking.
  286.  
  287. Their menus, windows, etc. are simply the fastest stuff I've ever seen
  288. on a Mac.  I wish Apple's code was this fast... ------
  289.  
  290. >From Eph...
  291. Performance is quite good.   ------
  292.  
  293. INTEGRATION/COMPATIBILITY WITH MAC ENVIRONMENT & OTHER SYSTEMS
  294. ==============================================================
  295.  
  296. >From SDL...
  297. It is file compatible w/ IL on Sun/RT/etc. and can run in a
  298. heterogeneous network environment.  You can bring PICTs and TEXT from
  299. the Mac side over to IL either through a DA or directly from the Mac
  300. clipboard which is converted to a doc in the IL clipboard when you start
  301. IL.
  302.  
  303. IL doesn't support multifinder, but it does run in a 6144k partion, but
  304. sometimes has problems, nothing terminal, but under finder it is SOLID.
  305. ------
  306.  
  307. >From FAD...
  308. They convert everything you paste from the clipboard, which works fine,
  309. but you can't have other applications open at the same time. You have to
  310. use DAs or the Scrapbook to get graphics from external sources. ------
  311.  
  312. MONITOR SIZE ============
  313.  
  314. >From SDL...
  315. I'm doing my thesis with it and even on a 12" Apple monochrome screen it
  316. is great. ------
  317.  
  318. >From Eph...
  319. A small screen is a big problem, especially if you're used to a larger
  320. one, so ... quickly got a larger monitor. ------
  321.  
  322. OVERALL IMPRESSIONS ===================
  323.  
  324. >From SDL...
  325. They do need to make some adaptations for the Mac and add a thesaurus,
  326. etc., but I'm very happy with it.  
  327.  
  328. IL really makes Word and FW look like toys in comparison.  If they
  329. improve their bitmap editor it will be even better.
  330.  
  331. This is the first software in the Mac market that I ever known to ship
  332. on the announced date and to be ABSOLUTELY SOLID.  We paid $1k for a
  333. university copy, but I would gladly pay $2,495 for this product for
  334. professional use.
  335.  
  336. Yup, I like it. ------
  337.  
  338. >From FAD...
  339. We've used Interleaf on Suns for a while, and now have it on a Mac II
  340. also.  It's very nice. ------
  341.  
  342. RESPONSIVENESS OF COMPANY =========================
  343.  
  344. >From FAD...
  345. We have a list of general gripes about Interleaf -- but a lot of these
  346. will be addressed by release 4.0, which is due in a few months.  They
  347. are next door to us, and we've made direct contact with engineers, which
  348. helps with questions and responsiveness to suggestions. ------
  349.  
  350. >From Eph...
  351. We're not directly connected to Interleaf, but we do deal with them more
  352. than the average customer.  They're about two blocks from us, the wife
  353. of one of my office-mates works there, and we had a bunch of their
  354. engineers over for lunch to discuss user-interface problems last week. 
  355. They seem to be quite interested in what real users have to say about
  356. the product. ------
  357.  
  358.  
  359. Credits: SDL: Steven D. Leeke (leeke@glacier.stanford.edu) Stanford
  360. University
  361.          FAD: Franklin A. Davis (fad@think.com) Thinking Machines Corp.
  362.          Eph: Ephraim (ephraim@think.com) Thinking Machines Corp.
  363.  
  364. Many thanks to the contributors.
  365. -- 
  366. Bill O'Farrell, Northeast Parallel Architectures Center at Syracuse University
  367. (billo@cmx.npac.syr.edu)
  368.  
  369.  
  370. ------------------------------
  371.  
  372. From: thomas@uvabick.UUCP (Thomas Fruin)
  373. Subject: Wanted: Tektronix 4027 emulator
  374. Date: 2 May 88 21:54:41 GMT
  375. Organization: uvabick
  376.  
  377.  
  378. Does anyone know of a Tektronix 4027 emulator for the Macintosh II?  I
  379. need the 16 colors - VersaTerm PRO is not good enough, because it only
  380. has 8 colors.
  381.  
  382. Please reply by mail - if anything comes up I'll summarize.
  383.  
  384. -- Thomas Fruin
  385.  
  386.    fruin@hlerul5.BITNET                  University of Leiden
  387.    thomas@uvabick.UUCP                   University of Amsterdam
  388.    hol0066.AppleLink
  389.    2:512/114.FidoNet                     The Netherlands
  390.  
  391.  
  392. ------------------------------
  393.  
  394. From: jas@cadre.dsl.PITTSBURGH.EDU (Jeffrey A. Sullivan)
  395. Subject: Programmer's Extender vs. MacExpress...
  396. Date: 30 Apr 88 19:31:15 GMT
  397. Organization: Decision Systems Lab., Univ. of Pittsburgh, PA.
  398.  
  399. Has anyone had any experience with Programmer's Extender or MacExpress
  400. or any of these COMMERCIAL generic application/apptools kinds of
  401. products?  I am assuming that they are like enhanced versions of
  402. transskel with more functionality and the like.  I enjoy
  403. transskel/edit/display/blob, but there are things i'd like to do that
  404. they can't and which bomb when I work on them. For me, getting the
  405. programs done is more important than really understanding the innards of
  406. the Mac II.  Oh, by the way, are they both Mac II compatible?
  407.  
  408.  
  409. -- 
  410. ..........................................................................
  411. Jeffrey Sullivan              | University of Pittsburgh
  412. jas@cadre.dsl.pittsburgh.edu          | Intelligent Systems Studies Program
  413. jasper@PittVMS.BITNET, jasst3@cisunx.UUCP | Graduate Student
  414.  
  415.  
  416. ------------------------------
  417.  
  418. From: garry@batcomputer.tn.cornell.edu (Garry Wiegand)
  419. Subject: Goin' Crazy on a Mac, or, How I Love MPW "GlobalData"
  420. Date: 30 Apr 88 21:11:47 GMT
  421. Organization: Cornell Engineering && Ithaca Software, Inc.
  422.  
  423. We are attempting - and have been attempting for some time now - to port
  424. our large 3D graphics subroutine library onto the Mac. The Mac is
  425. driving us rapidly nuts. 
  426.  
  427. We have worked around the bugs in Quickdraw, the obscurities in the
  428. documentation, the lack of a usable debugger, the solitary system error
  429. message (a round black object with a fuse :-), and *some* of the
  430. perversities of MPW/Aztec/Lightspeed/etc etc etc. We have not yet
  431. succeeded in working around/through the bureaucracy at Apple so that we
  432. can ask questions "officially". Now we've run into a wall, and we could
  433. use some help. 
  434.  
  435. The MPW C compiler is not very good, but unfortunately it is Apple's
  436. choice, so it has to be the primary focus of our Mac support. MPW C has
  437. the custom of loading the A5 register with a pointer to all of "global
  438. data" during program start-up. All accesses are then via a 15-bit offset
  439. to A5, which never changes.  ("Global data" consists of everything
  440. that's not code and not dynamically allocated - global variables, static
  441. variables, strings, and floating-point constants (12 bytes each!).)  
  442. The bottom line is that with MPW you can only ever have 32K (2^15) of
  443. fixed data. Doesn't matter if your Mac has megabytes and megabytes of
  444. memory; 32K is the static data limit. 
  445.  
  446. Question 1:
  447.         Anybody know of any magic workarounds to this limit, short of
  448.         damaging all of our source code? 
  449.  
  450. Question 2: 
  451.     Has anyone heard any rumors that this MPW bug might be fixed
  452.         sometime soon? (There's a rumored "3.0" release coming, but as
  453.         far as we can tell a "32K" fix is not included in it.) 
  454.  
  455. Question 3: 
  456.         We *might* be able to squeeze our own data into 32K, but the
  457.         user program that links to our library would surely push
  458.         things back over the limit. If we could separate the user's A5
  459.         usage from our library's, then we might be OK. Has anyone ever
  460.         gone through the exercise of segmenting a program into *multiple
  461.         separate code resources* on the Mac?  (The system apparently
  462.         does this all the time, but the details of the "message-
  463.     passing" involved are obscure to us.) 
  464.  
  465. Any help would be greatly appreciated. 
  466.  
  467. garry wiegand   (garry@oak.cadif.cornell.edu - ARPA)
  468.         (garry@crnlthry - BITNET)
  469.  
  470. PS:  As much as I'm complaining about Apple's software, they're the only
  471. PC/workstation company I've encountered so far that actually *cares*
  472. about software, and thinks about how things *ought* to be done - they
  473. don't just copy boring 15-year-old Unix ideas. "Inside the Mac" is 
  474. interesting reading even if you never intend to use a Mac. 
  475.  
  476. (Good ideas unfortunately do not automatically make a system "programmer
  477.  friendly". "Ghetto" debugging, complicated data structures, no error 
  478.  checking, and no error messages - Apple, you're a bunch of nitwits!)
  479.  
  480.  
  481. ------------------------------
  482.  
  483. From: wetter@tybalt.caltech.edu (Pierce T. Wetter)
  484. Subject: Re: Goin' Crazy on a Mac, or, How I Love MPW "GlobalData"
  485. Date: 1 May 88 08:25:06 GMT
  486. Organization: California Institute of Technology
  487.  
  488. In article <4625@batcomputer.tn.cornell.edu> garry@oak.cadif.cornell.edu
  489. writes:
  490. >We have worked around the bugs in Quickdraw, the obscurities in the
  491.     What bugs?
  492. >The MPW C compiler is not very good, but unfortunately it is Apple's
  493. >choice, so it has to be the primary focus of our Mac support. MPW C
  494. >has the custom of loading the A5 register with a pointer to all of
  495. >"global data" during program start-up. All accesses are then via a
  496. >15-bit offset to A5, which never changes.  ("Global data" consists of
  497. >everything that's not code and not dynamically allocated - global
  498. >variables, static variables, strings, and floating-point constants (12
  499. >bytes each!).)   The bottom line is that with MPW you can only ever
  500. >have 32K (2^15) of fixed data. Doesn't matter if your Mac has
  501. >megabytes and megabytes of memory; 32K is the static data limit. 
  502.    Actually this is common to all languages under MPW. Global data is
  503. referenced as an offset from a5. On the 68000 thats 16 bits, on the 020
  504. its 32 bits. Read the object code format description if you want more
  505. details. I agree it can be annoying, but there are some things to
  506. remember.
  507.  
  508.       1. Static variables consist of a bunch of DC.L statements.
  509. Therefore
  510.           20K of empty static arrays will take up 20K of disk space.
  511.       2. Quickdraw globals have to be addressed this way anyways.
  512. >
  513. >Question 1:
  514. >        Anybody know of any magic workarounds to this limit, short of
  515. >        damaging all of our source code? 
  516.    If its for a 68020 machine, you might be able to ignore the messages
  517. produced by link, but don't quote me.
  518.  
  519. >Question 2: 
  520. >    Has anyone heard any rumors that this MPW bug might be fixed
  521. >        sometime soon? (There's a rumored "3.0" release coming, but as
  522. >        far as we can tell a "32K" fix is not included in it.) 
  523.  
  524. >Question 3: 
  525. >        We *might* be able to squeeze our own data into 32K, but the
  526. >        user program that links to our library would surely push
  527. >        things back over the limit. If we could separate the user's A5
  528. >        usage from our library's, then we might be OK. Has anyone ever
  529. >        gone through the exercise of segmenting a program into *multiple
  530. >        separate code resources* on the Mac?  (The system apparently
  531. >        does this all the time, but the details of the "message-
  532. >    passing" involved are obscure to us.) 
  533.     Segmenting a program simply requires a "#define ___SEG___ segname"
  534. message. All procedures following such a message will be placed in
  535. 'segname' by the linker.
  536.    This won't help anyways. The real problem is that the 68000 can only
  537. have a 16 bit offset from a5. Note that the limit should be 64K and a5
  538. should point to the center of your data, but no compiler writers are
  539. smart enough to think of that.
  540.    As for your data, you're probably allocating large arrays. Why not
  541. just  allocate a pointer and write some initilization code to allocate
  542. the space at startup. Since this is a library you might want to do the
  543. following:
  544.  
  545. Replace static double  MEMORY[10000000000] with static double *MEMORY=0;
  546.  
  547.  
  548. {  if (MEMORY=NULL) MEMORY=malloc( 10000000000* sizeof(double))
  549.  MEMORY[5]=PI; }
  550.  
  551. >(Good ideas unfortunately do not automatically make a system "programmer 
  552. > friendly". "Ghetto" debugging, complicated data structures, no error 
  553. > checking, and no error messages - Apple, you're a bunch of nitwits!)
  554.     They do give you the number though, you just have to look it up.
  555.  (If its listed. My Favorite Unlisted Error: -4001, LaserPrinter out of
  556. Paper)
  557. -- 
  558. Pierce Wetter
  559. ----------------------------------------------------------------
  560. wetter@tybalt.caltech.edu     Race For Space Grand Prize Winner.
  561. -----------------------------------------------------------------
  562.    Useless Advice #986: Never sit on a Tack.
  563.  
  564.  
  565. ------------------------------
  566.  
  567. From: stew@endor.harvard.edu (Stew Rubenstein)
  568. Subject: Re: Macsbug won't work with my 19" screen
  569. Date: 2 May 88 17:54:17 GMT
  570. Organization: Aiken Computation Lab Harvard, Cambridge, MA
  571.  
  572. In article <388@kosman.UUCP> kevin@kosman.UUCP (Kevin O'Gorman) writes:
  573. >Anybody know how to get TMON, or another solution to my problem?
  574.  
  575. TMON is available from APDA, and from its publisher, ICOM Simulations.
  576. ICOM's phone number is 312-520-4443.
  577.  
  578. MacsBug 6.0B1 was just released last week.  It is available from APDA.
  579.  
  580. APDA's phone number is 206-251-6548.  If you're not a member, you ought
  581. to join.  They are very poor at order processing, but are the only
  582. source for many Macintosh programming tools.
  583. -- 
  584. Stew Rubenstein
  585. Cambridge Scientific Computing, Inc.
  586. UUCPnet:    seismo!harvard!rubenstein            CompuServe: 76525,421
  587. Internet:   rubenstein@harvard.harvard.edu       MCIMail:    CSC
  588.  
  589.  
  590. ------------------------------
  591.  
  592. From: pez@vax1.acs.udel.EDU (Daniel J Pezely)
  593. Subject: Replys to: Developer Quality C Compiler w/inline Assembly
  594. Date: 2 May 88 16:55:49 GMT
  595. Organization: University of Delaware
  596.  
  597. A few days ago I posted a request for information about developer
  598. quality C compilers.  I also mentioned a few errors which I was having,
  599. but they were mostly silly mistakes of typing or translation from Aztek
  600. C code to LSC.
  601.  
  602. Here are some of the responces which I received:
  603.  
  604. >From: wetter@tybalt.caltech.edu (Pierce T. Wetter)
  605.  
  606. . . . In general I've noticed this: People who've programmed a lot on
  607. other computers tend to love MPW (instant batch files). People who
  608. program the mac mostly like LSC because: its quick, you don't need to
  609. worry about make files, and it segments your code nicely. (In that
  610. order.) However, I've converted a few people from LSC to MPW and I've
  611. noticed that once they get up and running, they don't mind it all that
  612. much (Warning: LSC int=16 bits  MPW int=32, use short when you want a
  613. pascal int). . . . If you have a Mac II, the speed issue is much less
  614. (disk speed begins to dominate) and MPW is not as much of a burden.
  615.  
  616. Personally, I use both. When I'm writing something quick and dirty
  617. (print the number 1 to ten on the screen) I use LSC for its superior
  618. compiling and better interface. For projects where I need speed, the
  619. project is huge, I use MPW....
  620.  
  621.             *    *    *
  622.  
  623. >From: woody@tybalt.caltech.edu (William Edward Woody)
  624.  
  625. I personally use MPW C, and the MPW environment for the Macintosh,
  626. available from APDA. . . .
  627.  
  628. The advantages include:
  629.     *  Support of the 68020/68881 processor already available
  630.     *  The Greenhills C compiler used is one of the fastest in the
  631.        industry (Apple paid a pretty penny for it...)
  632.     *  UNIX-like development environment (you can create tools which
  633.        can be used from the shell or stand-alone applications--useful
  634.        for testing algorithms and bits of code before inserting it
  635.        into your finished application) Disadvantages include:
  636.     *  No in-line assembler (seperate assembler is included which
  637.        works with the same linker--creating C like functions in
  638.        assembly for placing your 'in-line' code there is fully
  639.        explained.
  640.     *  Huge and complete manual which is damned hard to wade through
  641.        when you are first learning the application.  (I suggest
  642.        buying 'Programming with Macintosh Programmer's Workshop,
  643.        a seperate book which should be available at all your better
  644.        computer bookstores everywhere; it's good to first learn your
  645.        way around the system.)
  646.  
  647. The cost:  $200 for the MPW shell environment (including ASM and LINK,
  648.        make utilities, and more tools than you can ever learn for
  649.        managing large projects),
  650.        $150 for the MPW C compiler (requires environment, above).
  651. Available: Available only through APDA, the Apple Programmer's and
  652.            Deleloper's Association.  Membership is $25.00, and
  653.        includes a monthly newsletter and substantial discounts
  654.        on a large range of software.
  655.          APDA
  656.          290 SW 43rd Street
  657.          Renton, WA 98055
  658.          (206) 251-6548
  659.          CompuServe #73527,27
  660.            I would highly recommend joining them, even if you don't
  661.        buy MPW.  They ship in 3-5 days after phoning in your
  662.        order, shipped Federal Express, as their standard (!!)
  663.        shipping courier.  From them you can buy damned near
  664.        everything you will need as a Macintosh Developer.
  665.  
  666.             *    *    *
  667.  
  668. >From: oster%SOE.Berkeley.EDU@jade.berkeley.edu (David Phillip Oster)
  669.  
  670. LightSpeed C already has a fine assembler built in to it. In particular,
  671. it knows about C objects and C comments.
  672.  
  673.  
  674. This is all documented in your LSC manual!
  675.  
  676. For example:
  677.  
  678. #include <asm.h>
  679.  
  680. Handle NewClearHandle(size)long size;{
  681.  asm{
  682.      move.l  size,d0        /* move the size to where the Op sys trap wants
  683. */
  684.      _NewHandle      CLEAR  /* call the trap with the modifier */
  685.      move.l  a0,d0          /* move to C's function return register */
  686.     } }
  687.  
  688. **** Just a note to append to this reply: **** On page 10-5 of the main
  689. manual, it says that inline assembly language **** is not
  690. available.    When I saw this a while back, I checked the v2.01 ****
  691. supplement and did not find it listed as a command.  It is in there,
  692. **** but since there is no index, it is hard to find.  See page 17 of
  693. the **** manual supplement. ****                         - Pez
  694.  
  695.             *    *    *
  696.  
  697.  
  698. >From: Richard Siegel <rs4u+@andrew.cmu.edu>
  699.  
  700.  
  701. . . . Programs written with LightspeedC:
  702.  
  703.     XPress (Quark)
  704.     Aldus PageMaker (Aldus)
  705.     Adobe Illustrator (Adobe Systems)
  706.     LightspeedC (THINK Technologies)
  707.     Capps Prime Editor Construction Kit (THINK Technologies)
  708.     LaserSpeed (THINK Technologies)
  709.     Canvas (Deneba Software)
  710.     StuffIt (Shareware, Raymond Lau)
  711.  
  712. There are others, but I don't know them all, and I don't have an
  713. exhaustive list. Oh yes--
  714.  
  715.     LaserTalk (Emerald City Software)
  716.  
  717. The point is, several very large (and commercially successful, I might
  718. add) products have been written with LightspeedC, which is good
  719. testimony to its overall usefulness.
  720.  
  721.         --Rich
  722.  
  723.             *    *    *
  724.  
  725.     I hope that this will help anyone else who was in the same position
  726. that I was in: trying to apply knowledge of MS-DOS and UNIX computers to
  727. the Macintosh.
  728.  
  729.     Also, while I was waiting for responces (a whole 48 hours), I saw in a
  730. book store the whole line of Apple books.  There is one which
  731. particularly caught my attention: _A Programmer's Introduction to the
  732. Macintosh Family_. In there, they talk about MPW and its add-ons, APDA,
  733. and other useful info.
  734.  
  735.         As far as which C compiler I will be using, I will stick with
  736. Think's Lightspeed C.  Once I start making some money from my
  737. developments, I might purchase MPW and then compare that to the next
  738. version of LSC.
  739.  
  740.     Thanks to all who replied to my posting.
  741.  
  742.                         Daniel Pezely
  743.                         pez@vax1.acs.udel.edu
  744.                         University of Delaware
  745.  
  746.  
  747. ------------------------------
  748.  
  749. From: leonardr@uxe.cso.uiuc.edu
  750. Subject: Re: Programmer's Extender vs. MacExpres
  751. Date: 1 May 88 17:50:00 GMT
  752.  
  753.     I have not used MacExpress, but I do have considerable experience with
  754. the Programmer's Extender packages from Invention Software Corp. (NOTE:
  755. I helped write some of the code currently contained in the Volume II of
  756. the Extender and am therefore possibly biased)
  757.     The Programmer's Extender comes in two volumes. Volume I's routines are
  758. much like those found in Transkel.  Event Handling, Menus, Dialogs,
  759. Windows, Some  File I/O, etc.  As well as some extra little functions
  760. that might come in handy. Volume II is the more advanced routines for
  761. handling the List Manager (this stuff it VERY NICE!), PICT/Bitmapt
  762. handling, Printing, Extended File I/O, Window Tiling/Stacking, Extended
  763. Text routines, etc.
  764.     Much of the source is included (approx 90% of Volume I, and 75% of
  765. Volume II) in the standard versions or if you want ALL of the source
  766. code they have the Professional Extenders which are MUCH MORE Expensive
  767. but you do get complete source to everything!!
  768.     As far as extendability there are userHooks to everything so that you
  769. can handle things yourself if the standard method is not to your liking
  770. (a good  example of this is WindowUpdates!).
  771.     The only provision when using the routines is that you includes a
  772. copyright notice in your program and in the docs (like what you have to
  773. do with LSP & C) and other than that it's all yours!!
  774.     That's a pretty brief explanation of the packages.  If you are
  775. interested, I can send you a review of the packages that appeared on
  776. GEnie a bunch of months back that gives you an indepth look at the
  777. packages.
  778. -- 
  779. +---------------------------------+-----------------------------------+
  780. +                                 +  Any thing I say may be taken as  +
  781. +   Leonard Rosenthol             +  fact, then again you might decide+
  782. +   President, LazerWare, inc.    +  that it really isn't, so you     +
  783. +                                 +  never know, do you??             +
  784. +   leonardr@uxe.cso.uiuc.edu     +                                   +
  785. +   GEnie:  MACgician             +                                   +
  786. +   Delphi: MACgician             +                                   +
  787. +                                 +                                   +
  788. +---------------------------------+-----------------------------------+
  789.  
  790.  
  791. ------------------------------
  792.  
  793. From: ephraim@think.COM (ephraim vishniac)
  794. Subject: Re: Physical Storage Amounts on Different Hard Disks (Size of Folders)
  795. Date: 3 May 88 14:20:56 GMT
  796. Organization: Thinking Machines Corporation, Cambridge, MA
  797.  
  798. Interleaving has nothing to do with the capacity or usage of the disk.
  799. In fact, interleaving has very little to do with anything except very
  800. low-level performance tweaking.
  801.  
  802. Space on Macintosh volumes (as in many kinds of file systems) is not
  803. necessarily allocated one sector at a time.  It's allocated in "Volume
  804. Allocation Units."  The size of a VAU is proportional to the overall
  805. size of the disk.  On HFS volumes up to about 32 megabytes (64K
  806. sectors), the VAU is one sector.  So, it's the same on an 800K floppy
  807. and on a 20M hard disk.  Above 32M, the VAU increases by roughly one
  808. sector per 32M.
  809.  
  810. Your 102M disk probably has an allocation unit of 4 sectors (2K) instead
  811. of 1 sector (.5K).  Statistically, expect a waste of .5 VAU per file. 
  812. That's an increase of .75K per file going between the disks you
  813. describe, so you'd see an increase of 1M with about 1300 files. Sound
  814. about right?
  815. -- 
  816. Ephraim Vishniac                      ephraim@think.com
  817. Thinking Machines Corporation / 245 First Street / Cambridge, MA 02142-1214
  818.  
  819.      On two occasions I have been asked, "Pray, Mr. Babbage, if you put
  820.      into the machine wrong figures, will the right answers come out?"
  821.  
  822.  
  823. ------------------------------
  824.  
  825. From: mithomas@bsu-cs.UUCP (Michael Thomas Niehaus)
  826. Subject: Word Perfect for the Mac
  827. Date: 3 May 88 17:07:53 GMT
  828. Organization: CS Dept, Ball St U, Muncie, Indiana
  829.  
  830. Well, I have been using Word Perfect on my Mac II for a short time now,
  831. and I have come to the conclusing that it is just one or two versions
  832. away from being a very excellent program.  It still has some problems
  833. right now.  It  seems to have some problems when the spelling checker is
  834. active; double-spaced text doesn't always appear double spaced.  Also,
  835. when editing a header, sometimes lines will disappear from the screen
  836. (even though Word Perfect still knows that they are there).  Anyone from
  837. Word Perfect out there?
  838.  
  839. There is one feature that I think every Mac program should implement for
  840. we hard disk owners: the ability to set a default folder for all file
  841. saves and retrieves.  This is definitely prevents hard disk clutter when
  842. more than one person uses the same machine.  (I tend to forget to
  843. specify what folder, so I will let the program do it for me.)
  844.  
  845. With a hard disk, the automatic timed backup feature is so fast that it
  846. is not noticeable.  However, I don't know how well it would do for a
  847. 3.5" drive. That could end up being annoying.
  848.  
  849. The spelling checker works very well, especially compared with the beta 
  850. version.  I haven't tried the thesaurus yet.
  851.  
  852. So what does everyone else think of the package?  We probably will adopt
  853. this software as a standard here at Ball State University, mainly
  854. because we have 200 copies of the IBM version and the VAX version.
  855. -- 
  856. Michael Niehaus
  857. UUCP: ..!{uunet,pur-ee,iuvax}!bsu-cs!mithomas
  858.  
  859.  
  860. ------------------------------
  861.  
  862. From: fleishman-glenn@CS.YALE.EDU (Glenn Fleishman)
  863. Subject: Info on EMAC hard drives
  864. Date: 5 May 88 16:55:09 GMT
  865. Organization: Not the opinions of the Yale University Computer Science Dept, New Haven CT  06520-2158
  866.  
  867. Does anyone have any knowledge of or experience with the EMAC 20Meg hard
  868. drive? In ICON REVIEW's catalogue, they show it at a list value of $995,
  869. but their "low" price is $525.  Does this sound good to those of you who
  870. have purchased 20M drives?  I have no basis of experience at all with
  871. anything but floppy drives.  Any advice (email'ed if not universally
  872. relevant) would be appreciated, as well as info on EMAC and Icon
  873. Review's service.
  874.  
  875. Thank you.
  876. -- 
  877. Glenn I. Fleishman, graphic designer & Mac apologist
  878. FLEGLEI@YALEVM.BITNET or through r/Reply  
  879. "Andy Warhol lives. I think. Maybe not."
  880.  
  881.  
  882. ------------------------------
  883.  
  884. From: shulman@slb-sdr.UUCP (Jeff Shulman)
  885. Subject: A/UX AppleTalk printing
  886. Date: 5 May 88 18:36:13 GMT
  887. Organization: Schlumberger-Doll Research, Ridgefield, CT
  888.  
  889. Using Sun TOPS we are able to print from our Suns onto any AppleTalk
  890. LaserWriter.  You even have remote printing from other Suns to the print
  891. server Sun via NFS.
  892.  
  893. Has anyone tried getting A/UX to do remote printing to a Sun?  I called
  894. TOPS and they said they haven't tried it nor is it "meant" to work on
  895. non-Suns.
  896.  
  897. It *seems* like you should be able to get it to work.  Perhaps?
  898.  
  899.                                                         Jeff
  900. -- 
  901. uucp:     ...rutgers!yale!slb-sdr!shulman
  902. CSNet:    SHULMAN@SDR.SLB.COM
  903. Delphi:   JEFFS
  904. GEnie:    KILROY
  905. CIS:      76136,667
  906. MCI Mail: KILROY
  907.  
  908. ------------------------------
  909.  
  910. End of Usenet Mac Digest
  911. ************************
  912. -------
  913.